package org.ting.treeforlyt;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class TreeForlytApplication {

    public static void main(String[] args) {
        SpringApplication.run(TreeForlytApplication.class, args);
    }



}


//import org.springframework.boot.SpringApplication;
//import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.boot.builder.SpringApplicationBuilder;
//import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
//
//@SpringBootApplication
//public class TreeForlytApplication extends SpringBootServletInitializer {
//
//    // 重写 configure 方法，指定启动类
//    @Override
//    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
//        return application.sources(TreeForlytApplication.class);
//    }
//
//    public static void main(String[] args) {
//        SpringApplication.run(TreeForlytApplication.class, args);
//    }
//}
